package com.eportal.util;

public class CityUtil {
	/**
     * 是否是直辖市
     * @param city
     * @return
     */
	public static boolean isMunicipalities(String city) {
		String[] municipalities = new String[]{"110000","120000","310000","500000","710000","810000","820000"};
		for (int i = 0; i < municipalities.length; i++) {
			if(municipalities[i].equals(city)){
				return true;
			}
		}
		return false;
	}
}
